//date 框样式
:host ::ng-deep .approval-case .ant-calendar-picker-input.ant-input.ng-star-inserted {
    height: 30px;
    width: 120px;
    border: 1px solid rgba(212, 218, 229, 1);
    border-radius: 0;
    font-size: 12px;
}

:host ::ng-deep .approval-case .ant-calendar-picker-input.ant-input.ng-star-inserted::placeholder {
    color: rgba(34, 34, 34, 1);
    font-size: 12px;
}

:host ::ng-deep .ng-tns-c11-34 {
    height: 30px;
}

//select样式
// .ant-select-selection.ant-select-selection--single
:host ::ng-deep .approval-case .ant-select-selection.ant-select-selection--single {
    width: 120px;
    height: 26px;
    border: 1px solid rgba(212, 218, 229, 1);
    border-radius: 0;
    font-size: 12px;
    box-shadow: none;
    line-height: 26px;
}

:host ::ng-deep .ant-spin.ant-spin-spinning.ant-spin-show-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 66px;
    transform: translate(-50%, 0);
    padding-top: 5px;
    text-shadow: 0 1px 2px #fff;
}

.spin {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-bottom: 20px;
    z-index: 999;
    margin: 36px 0 0 0;
}

// ::ng-deep .ant-select-selection.ant-select-selection--single{
//   height:26px;
//   border:1px solid rgba(212,218,229,1);
//   border-radius: 0;
//   font-size: 12px;
//   box-shadow: none;
//   line-height: 26px;
// }
.approval-type {
    width: 100%;
    height: 30px;
    line-height: 30px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(212, 218, 229, 1);
    span {
        display: inline-block;
        margin-right: 15px;
        font-size: 14px;
        font-family: PingFangSC;
        font-weight: 400;
        color: rgba(34, 34, 34, 1);
    }
}

:host ::ng-deep {
    .anticon-caret-down {
        color: rgba(34, 34, 34, 1);
    }
    .ant-select-arrow .anticon-caret-down svg {
        transition: transform .3s;
    }
    .ant-select-open .anticon-caret-down svg {
        transform: rotate(180deg);
    }
}

:host ::ng-deep .approval-case .ant-select-selection__rendered {
    height: 26px;
    font-size: 12px;
    line-height: 26px;
    .ant-select-selection__placeholder {
        font-size: 12px;
        color: rgba(34, 34, 34, 1);
    }
    .cdk-overlay-connected-position-bounding-box {
        background: #000;
    }
}

.cdk-overlay-backdrop.nz-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {
    background: #000;
}

//select option样式
:host ::ng-deep {
    .ant-select-dropdown-menu-item.ant-select-dropdown-menu-item-selected.ant-select-dropdown-menu-item-active.ng-star-inserted {
        font-size: 12px !important;
    }
    .ant-select-dropdown-menu-item.ng-star-inserted {
        font-size: 12px !important;
    }
    .ant-select-dropdown-menu.ant-select-dropdown-menu-root.ant-select-dropdown-menu-vertical li {
        font-size: 12px !important;
    }
    .ant-select-dropdown-menu-item:hover {
        background-color: #e6f7ff;
        font-size: 12px;
    }
}

//层级联动样式
:host ::ng-deep {
    .ant-cascader-picker .anticon-caret-down svg {
        color: rgba(34, 34, 34, 1);
        font-size: 12px;
    }
    .ant-cascader-picker .anticon-caret-down svg {
        transition: transform .3s;
    }
    .ant-cascader-picker-open .anticon-caret-down svg {
        transform: rotate(180deg);
    }
    .ant-cascader-input.ant-input {
        width: 120px;
        height: 25px;
        border-radius: 0;
        font-size: 12px;
        color: rgba(34, 34, 34, 1);
    }
    .ant-cascader-input.ant-input::placeholder {
        color: rgba(34, 34, 34, 1);
        font-size: 12px;
    }
}

//模态框样式
::ng-deep .modalShade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
}

::ng-deep .modalTitle {
    background: #F8F8F8;
    overflow: hidden;
    height: 36px;
    line-height: 36px;
    border-bottom: 1px solid #D4DAE5;
    color: #222;
    padding: 0 15px;
    span {
        display: inline-block;
        height: 36px;
        line-height: 36px;
    }
}

::ng-deep .modalTitleLeft {
    float: left;
    font-size: 14px;
    font-weight: bolder;
}

::ng-deep .modalTitleRight {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

::ng-deep .modalContent {
    &::-webkit-scrollbar {
        /*滚动条整体样式*/
        width: 10px;
        /*高宽分别对应横竖滚动条的尺寸*/
        height: 5px;
    }
    &::-webkit-scrollbar-thumb {
        /*滚动条里面小方块*/
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
        background: #535353;
    }
    &::-webkit-scrollbar-track {
        /*滚动条里面轨道*/
        -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        background: #EDEDED;
    }
    overflow-y: scroll;
    padding: 10px;
    font-size: 14px;
    color: #222;
    .userMessage {
        background: #FAFACF;
        height: 34px;
        line-height: 34px;
        border: 1px solid #D4DAE4;
        label {
            display: inline-block;
            margin: 0 10px;
        }
    }
}

::ng-deep .documentTitle {
    font-size: 18px;
    font-weight: bolder;
    margin: 15px 0;
}

::ng-deep .myModalContent {
    height: 100%;
    font-size: 14px;
    color: #222;
    line-height: 40px;
}

::ng-deep .myModalContent input {
    border: none;
    border-bottom: 1px solid #D4DAE5;
    margin: 0 3px;
    line-height: 40px;
    outline: none
}

::ng-deep .modalFooter {
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: center;
    height: 48px;
    line-height: 48px;
    background: #F7F9FB;
    border-top: 1px solid #D6DCE6;
    width: 100%;
    margin-bottom: 0px;
    button {
        font-size: 14px;
        border: 1px solid #D4DAE5;
        background: #fff;
        border-radius: 4px;
        height: 32px;
        line-height: 32px;
        padding: 0 16px;
        margin: 0 10px;
        outline: none;
        cursor: pointer;
    }
    .highLight {
        background: #0A89FF;
        color: #fff;
    }
}

:host {
    width: 800px;
    // height: 590px;
    position: absolute;
    overflow: hidden;
    left: 50%;
    top: 50%;
    // margin-left: -400px;
    // margin-top: -300px;
    transform: translate(-50%, -50%);
    background: #fff;
    opacity: 1;
    z-index: 1;
}

//案源登记表样式
::ng-deep .clueTitle {
    color: #222;
    font-size: 18px;
    font-weight: bolder;
    line-height: 45px;
    border-bottom: 1px solid #D4DAE4;
    width: 100%;
}

::ng-deep .searchList {
    color: #222;
    margin: 10px 0;
    width: 100%;
    input {
        width: 180px !important;
        height: 30px;
        line-height: 30px;
        vertical-align: middle;
        border: 1px solid #D4DAE5;
    }
    select {
        width: 217px;
        height: 32px;
        line-height: 32px;
        border: 1px solid #D4DAE5;
    }
    label {
        margin: 0 5px;
        font-size: 14px;
    }
}

::ng-deep .formContent {
    color: #222;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 14px;
    .formContentLyfl {
        height: 30px;
        line-height: 30px;
        label {
            margin: 0 5px;
            input {
                vertical-align: middle;
                border: 1px solid #D4DAE5;
            }
            #qtly {
                height: 26px;
            }
        }
    }
}

// 案源提供人
.form {
    // overflow: auto;
}

.aytgr {
    font-size: 14px;
    color: #222;
    .aytgrContent {
        padding: 20px 30px;
        p {
            height: 30px;
            line-height: 30px;
            label {
                margin: 0 5px;
                span {
                    display: inline-block;
                    width: 100px;
                    text-align: right
                }
                input {
                    border: 1px solid #D4DAE5;
                    height: 30px;
                }
                .input1 {
                    width: 150px;
                }
                .input2 {
                    width: 240px;
                }
            }
        }
        p.p1 {
            margin-bottom: 12px
        }
        table tr td:nth-child(1) {
            text-align: right;
            width: 130px;
        }
        .myTable tr td:nth-child(1) {
            width: 100px;
        }
        table tr {
            line-height: 40px
        }
        table tr td {
            select {
                width: 120px;
                height: 30px;
                border: 1px solid #D4DAE5;
            }
            input {
                width: 240px;
                height: 30px;
                border: 1px solid #D4DAE5;
            }
        }
    }
}

::ng-deep .commonTitle {
    height: 26px;
    line-height: 26px;
    font-weight: bolder;
    border-bottom: 1px solid #D4DAE4;
    i {
        display: inline-block;
        width: 4px;
        height: 12px;
        background: #2B62DC;
        vertical-align: middle;
        margin-right: 10px;
    }
}

// 当事人信息
::ng-deep .dsrxx {
    font-size: 14px;
    color: #222;
    .dsrxxContent {
        padding: 20px 30px;
        label {
            display: inline-block;
            width: 100px;
            text-align: right;
            margin: 5px 0;
        }
        input {
            height: 30px;
            border: 1px solid #D4DAE4;
            margin: 5px 0;
            width: 240px;
        }
        select {
            height: 30px;
            width: 120px;
            border: 1px solid #D4DAE4;
        }
    }
}

// 案源登记内容
::ng-deep .approval-review {
    position: relative;
}

.approval-case {
    padding: 10px 30px;
    width: 100%;
    span {
        display: inline-block;
        margin: 0 10px;
        vertical-align: top;
    }
    width:800px;
    height:177px;
    background:rgba(255, 255, 240, 1);
    border-radius:1px;
    border:1px solid rgba(212, 218, 229, 1);
    position: fixed;
    bottom:47px;
    left:0;
}

.approval-radio-group {
    height: 30px;
    line-height: 30px;
    padding-left: 90px;
}

.case-module {
    height: 60px;
    .my-date-wrap {
        width: 120px;
        height: 30px;
        display: inline-block;
    }
}

.case-idea {
    .textarea2 {
        width: 645px;
        height: 54px;
        padding: 5px;
        font-size: 12px;
        border: 1px solid #D4DAE4;
        resize: none;
        font-family: "Hiragino Sans GB", STHeiti, "WenQuanYi Micro Hei", "Droid Sans Fallback", SimSun, sans-serif;
    }
}

::ng-deep .aydjnr {
    font-size: 14px;
    color: #222;
    .aydjnrContent {
        padding: 20px 30px 0 30px;
        label {
            display: inline-block;
            width: 100px;
            margin: 5px 0;
            vertical-align: top
        }
        input {
            height: 30px;
            border: 1px solid #D4DAE4;
            margin: 5px 0;
            width: 240px;
            margin: 5px 0;
        }
        .textarea {
            width: 690px;
            height: 150px;
            border: 1px solid #D4DAE4;
            resize: none;
            padding: 5px;
            margin: 5px 0;
            font-family: "Hiragino Sans GB", STHeiti, "WenQuanYi Micro Hei", "Droid Sans Fallback", SimSun, sans-serif;
        }
        .textarea2 {
            width: 690px;
            height: 54px;
            padding: 5px;
            border: 1px solid #D4DAE4;
            resize: none;
            font-family: "Hiragino Sans GB", STHeiti, "WenQuanYi Micro Hei", "Droid Sans Fallback", SimSun, sans-serif;
        }
    }
}

::ng-deep .formContentBox {
    button {
        width: 144px;
        height: 32px;
        background: #3BA1FF;
        border-radius: 2px;
        border: none;
        color: #fff;
        margin: 5px 0;
    }
    .span1,
    .span2 {
        color: red;
        margin: 0 5px;
    }
    .contentIndent {
        text-indent: 130px;
    }
}

::ng-deep .pos {
    position: fixed;
    bottom: 7px;
    right: 27px;
    left: 166px;
    // height: 200px;
    /* width: 99%; */
    // box-shadow: 0 0 20px #000;
}

::ng-deep .shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
}

//date 框样式
:host ::ng-deep .ant-calendar-picker-input.ant-input.ng-star-inserted {
    height: 32px;
    border: 1px solid #d4dae5;
    border-radius: 0;
    font-size: 14px;
    vertical-align: middle
}

:host ::ng-deep .ant-calendar-picker-input.ant-input.ng-star-inserted::placeholder {
    color: rgba(34, 34, 34, 1);
    font-size: 12px;
}

//select样式
:host ::ng-deep .ant-select-selection.ant-select-selection--single {
    height: 32px;
    border: 1px solid rgba(212, 218, 229, 1);
    border-radius: 0;
    font-size: 14px;
    box-shadow: none;
    line-height: 28px;
    vertical-align: middle
}

:host ::ng-deep {
    .anticon-caret-down {
        color: rgba(34, 34, 34, 1);
    }
    .ant-select-arrow .anticon-caret-down svg {
        transition: transform .3s;
    }
    .ant-select-open .anticon-caret-down svg {
        transform: rotate(180deg);
    }
}

:host ::ng-deep .ant-select-selection__rendered {
    height: 32px;
    font-size: 12px;
    line-height: 32px;
    .ant-select-selection__placeholder {
        font-size: 12px;
        color: rgba(34, 34, 34, 1);
    }
    .cdk-overlay-connected-position-bounding-box {
        background: #000;
    }
}

.cdk-overlay-backdrop.nz-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {
    background: #000;
}

//select option样式
:host ::ng-deep {
    .ant-select-dropdown-menu-item.ant-select-dropdown-menu-item-selected.ant-select-dropdown-menu-item-active.ng-star-inserted {
        font-size: 12px !important;
    }
    .ant-select-dropdown-menu-item.ng-star-inserted {
        font-size: 12px !important;
    }
    .ant-select-dropdown-menu.ant-select-dropdown-menu-root.ant-select-dropdown-menu-vertical li {
        font-size: 12px !important;
    }
    .ant-select-dropdown-menu-item:hover {
        background-color: #e6f7ff;
        font-size: 12px;
    }
}